<template>
  <div>
    <router-view v-slot="{ Component }">
      <keep-alive exclude="detail">
        <component :is="Component" />
      </keep-alive>
    </router-view>
    <div class="mainTabBar">
      <mainTabBar
        @touchmove.prevent
        v-show="$store.state.isShowMainTabBar"
      ></mainTabBar>
    </div>
  </div>
</template>

<script>
import mainTabBar from "@/components/content/mainTabBar.vue";
export default {
  name: "App",
  components: {
    mainTabBar,
  },
};
</script>

<style scoped>
.mainTabBar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
}
</style>
